﻿using MediatR;
using TraceabilityApp_Api.DTO;
using TraceabilityApp_ErrorCode;

namespace TraceabilityApp_Api.Application.Command.Traceability
{
    public class GetTraceabilityCommand:IRequest<ApiPaging<TraceabilityDTO>>
    {
        /// <summary>
        /// 商品名称
        /// </summary>
        public string? GoodsName {  get; set; }
        /// <summary>
        /// 生产批次(整个系统唯一)
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 保质期(天)
        /// </summary>
        public int? Shelf { get; set; }
        /// <summary>
        /// 生产许可证(整系统唯一)
        /// </summary>
        public string? License { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string? Enterprise { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatreName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }
    }
}
